package org.infodavid.common;

/**
 * The Interface IBuilder.
 * @param <E> the type of the element to create
 * @param <P> the type of the parameter
 */
public interface IParameterizedBuilder<E,P> {

	/**
	 * Creates a new instance.
	 * @param param the parameter
	 * @return the instance
	 * @throws InstantiationException the instantiation exception
	 */
	E create(P param) throws InstantiationException;
}
